package mr.zhang.pojo.model;

import java.util.HashSet;
import java.util.Set;

/**
 * SysAuthority entity. @author MyEclipse Persistence Tools
 */

public class SysAuthority implements java.io.Serializable {

	// Fields

	private Integer id;
	private String authorityName;
	private Set sysRoleAuthorities = new HashSet(0);
	private Set sysAuthorityMenus = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysAuthority() {
	}

	/** full constructor */
	public SysAuthority(String authorityName, Set sysRoleAuthorities,
			Set sysAuthorityMenus) {
		this.authorityName = authorityName;
		this.sysRoleAuthorities = sysRoleAuthorities;
		this.sysAuthorityMenus = sysAuthorityMenus;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAuthorityName() {
		return this.authorityName;
	}

	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName;
	}

	public Set getSysRoleAuthorities() {
		return this.sysRoleAuthorities;
	}

	public void setSysRoleAuthorities(Set sysRoleAuthorities) {
		this.sysRoleAuthorities = sysRoleAuthorities;
	}

	public Set getSysAuthorityMenus() {
		return this.sysAuthorityMenus;
	}

	public void setSysAuthorityMenus(Set sysAuthorityMenus) {
		this.sysAuthorityMenus = sysAuthorityMenus;
	}

}